package com.yixun.qfbao.api.service;

import com.yixun.qfbao.apidto.*;

/**
 * 字典类型业务
 * @author guifang.weng
 * @create 2017-11-24 11:47
 **/
public interface BaseCodeTypeService {
    /**
     * 获取字典类型表
     * @param getBaseCodeTypeReqDto
     * @return
     * @throws Exception
     */
    GetBaseCodeTypeResDto getBaseCodeType(GetBaseCodeTypeReqDto getBaseCodeTypeReqDto) throws Exception;

    /**
     * 获取字典类型tree
     * @param getBaseCodeTypeTreeReqDto
     * @return
     * @throws Exception
     */
    GetBaseCodeTypeTreeResDto getBaseCodeTypeTree(GetBaseCodeTypeTreeReqDto getBaseCodeTypeTreeReqDto) throws Exception;

    /**
     * 新增标签
     * @param addBaseCodeTypeReqDto
     * @return
     * @throws Exception
     */
    AddBaseCodeTypeResDto addBaseCodeType(AddBaseCodeTypeReqDto addBaseCodeTypeReqDto) throws Exception;

    /**
     * 修改标签
     * @param editBaseCodeTypeReqDto
     * @return
     * @throws Exception
     */
    EditBaseCodeTypeResDto editBaseCodeType(EditBaseCodeTypeReqDto editBaseCodeTypeReqDto) throws Exception;

    /**
     * 删除标签
     * @param delBaseCodeTypeReqDto
     * @return
     * @throws Exception
     */
    DelBaseCodeTypeResDto delBaseCodeType(DelBaseCodeTypeReqDto delBaseCodeTypeReqDto) throws Exception;

}
